rows = int(input("Entar number of rows: "))
k=0
for I in range(1,rows+1):
    for space in range(1,(rows-I)+1):
        print(end=" ")
    while k != (2*I-1):
        print ("*",end="")
        k+=1
    k=0
    print()

